package com.ld.security.shop.crawler.modules.wo.constant;

import com.ld.security.common.mybatis.base.constant.SuperConstant;



public class WoGroupConstant  extends SuperConstant {




    public enum jobType implements SuperConstant.SuperEnum {
        simp_task("简单任务"),
        clock_task("定时任务"),

        ;

        private final String label;

        jobType(String label) {
            this.label = label;
        }


        @Override
        public String getValue() {
            return this.name();
        }

        @Override
        public String getLabel() {
            return this.label;
        }
    }


    public enum urlType implements SuperConstant.SuperEnum {
        page("分页"),
        details("详情"),

        ;

        private final String label;

        urlType(String label) {
            this.label = label;
        }


        @Override
        public String getValue() {
            return this.name();
        }

        @Override
        public String getLabel() {
            return this.label;
        }
    }



    public enum status implements SuperConstant.SuperEnum {
                    setout("准备执行"),
                    run("运行中"),
                    error("执行错误"),
                    success("执行完毕"),
                    suspend("暂停执行"),
                    scheduled("定时爬取"),
       
        ;

        private final String label;

        status(String label) {
            this.label = label;
        }


        @Override
        public String getValue() {
            return this.name();
        }

        @Override
        public String getLabel() {
            return this.label;
        }
    }











}
